package com.spider.common.entity.sina;

import com.spider.common.entity.Base;
import org.apache.commons.lang3.StringUtils;

import java.util.Date;

/**
 * < 一句话简述功能 >
 *  新浪博客 entity
 *
 * @author bf
 * @create 2018/3/29
 * @see [相关类/方法]（可选）
 * @since [产品/模块版本] （可选）
 */
public class SinaBlog extends Base {

    /** 标题*/
    private String title;

    /** 作者*/
    private String author;

    /** 文章日期*/
    private String date;

    /** 文章标签*/
    private String tag;

    /** 文章内容*/
    private String content;

    public SinaBlog() {
    }

    public SinaBlog(String title, String author, String date, String tag, String content) {
        this.title = title;
        this.author = author;
        this.date = date;
        this.tag = tag;
        this.content = content;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "SinaBlog{" +
                "title='" + title + '\'' +
                ", author='" + author + '\'' +
                ", date=" + date +
                ", tag='" + tag + '\'' +
                ", content='" + content + '\'' +
                ", id=" + id +
                '}';
    }
}